package com.bbex;

import com.bbex.configuration.redis.RedisConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.web.reactive.config.EnableWebFlux;

@EnableWebFlux
@SpringBootApplication
@Configuration
@EnableTransactionManagement
@MapperScan(basePackages = "com.bbex.mapper")
@Import(value = {RedisConfiguration.class})
public class BbexUniverseApplication {

    public static void main(String[] args) {
        SpringApplication.run(BbexUniverseApplication.class, args);
    }

}
